#pragma once

#define CHECK_HR(x)\
{\
	HRESULT tmpHr__ = x;\
	if (FAILED(tmpHr__))\
		Marshal::ThrowExceptionForHR(tmpHr__);\
}
